package com.sutong.platform.model.enums;

import lombok.Getter;

/**
 * 是否枚举
 *
 * @author sutong
 */
@Getter
public enum YesNoEnum {

    NO("否", 0),
    YES("是", 1);

    private final String text;

    private final Integer value;

    YesNoEnum(String text, Integer value) {
        this.text = text;
        this.value = value;
    }
}
